package com.yunchen.BooksManagementSystem.login.entity;

public class Code {
    private int code;
    private  String message;
    private String userType;
    private String userId;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String id) {
        this.userId = id;
    }

    public Code(int code, String message, String userId,String userType) {
        this.code = code;
        this.message = message;
        this.userId = userId;
        this.userType = userType;
    }

    public Code(int code, String message) {
        this.code = code;
        this.message = message;
    }
}